package ocl;

import parser.generic.Node;
import metamodels.Identifier;

public class Opposite extends Node{

	Identifier id;
	
	public Opposite(Identifier identifier) {
		this.id = identifier;
	}

	public Opposite() {
	}

	@Override
	public String toString() {
		if (id == null)
			return "";
		
		return "oppositeOf " + id;
	}
	
	public Identifier getId()
	{
		return id;
	}
}
